WIP for libpackjpg reorganization: moved all main interface and mainfunctions inside the wrapper class
WIP for libpackjpg reorganization: moved all global variables to beinstance variables and converted a couple of trivial functions.
WIP for libpackjpg reorganization.
Reformat modified source files.
Adding unifdef'ed files and CMake config to build.