GL: Create framework for OpenGL version written in C++