abstracted input function; added list of routes and stations for querying on user input