Updating the trip object to have a proper constructor and destructor
....
....
....