Cleanup|ResourceSystem: Moved MapDef into new source files