OpenGl configured and block class implemented