Refactor MapsService to use proper object notation and change map initialization to happen once