Updated Main and completed Adding route functionality

Updated main to also disable table cell editing after a route is added
and when a search is done. So anytime either table is updated. Also
finished the add route functionality. I think it is done.