Seperated game and level-editor code