clock game dependency injection cleanup