Created MDOpenGL class