GameContainer initialization logic refactoring