Added png loading support and functions for creating opengl buffers and textures