Moved dungeon.c and dungeon.h templates into external files.