class for the opengl library loader
error handling