Created a model object for schedule