Implemented a Image class that can load and save image data from/to png files using libPNG