Move the time configuration from controller to model