Moved maps code to search controller, added line directions