split out location utilities into a module - might be temporary