Created base opengl-context class that handles all the necessary work via methods.