Added basic OpenGL functionality