Simple engine for opengl