Separate dungeon, player, and main into separate files.