Main Loop implementation

Added fixed time-step loop and its main loop subclass.