tweaked controllers to refresh home map, refactored algorithm model to accept a set of coordinates as parameters for #distance_between