moved logic for translating from Trip model to TripOptimizer inputs into Trip model itself
making trip optimizer results available to view