Added FPS counter and abstract OpenGL app class