Added basic base class, main loop and FPS delay