Adds methods for converting location to map and the other way around
(for the config)