Add timer class for FPS control and game speed factor