generate period model and migrate
generate periods controller
nest periods routes in schedules