added some basecode for gamemodes and editor;