updated the views to allow for a map to appear
connected the controller to the view
changed the logic so the loop returns only one location