move methods from controller to model
write validate for end date
improve calendar controller
Rename index.js.erb and show.js.erb
Merge branch 'calendar-controller'