Added dependency injection for GameRegistry
Fixed unit tests
Removed factory and singletons