added basic OpenGL rendering