added Clock class, added instance to Engine, removed time-update related code from DemoEngine