Refactor Places typescript modules, interfaces, and utils.