Move Calculation methods to Trip model. Edit main_controller to use the Trip model instead.