Added new MSTrip class to help deal with spaghetti code issues and to implement trip history function