Refactored direction constants into separate class and renamed to relative terms, e.g. NORTH to UP. Fixed DungeonIO.read() and added unit testing.