Extracted mapUpdater to map. Extracted character coordinates to character class