Moving OpenGL basic game classes into the foundation