First attempt at writing an OpenGL framework for future projects