* main.d: Added a base game class to handle tick() and render()
  according to given UPS/FPS