Separated game code from infrastructure code