add getLocationFromName; refactor util module to use location object for each utility method