Moved timer related methods from Engine to its own class, Clock