TimeMachine model, controller and view modified. still minor errors