Refactoring: classes moved to separate file and are loaded at start into game.LogicContext.