Migration from png++ to pure libpng library
Little refactoring (classes, pointers, etc)