added trip controller for web and api calls
added trip controller for web and api calls