Wrap some OpenGL functionality in classes