refactoring the dungeon tile types and the way files are imported for karma tests.