Added model methods

Added more methods to communicate data between the db and the calendar
view to the Model package