adding schedule table and model object.