add models and calendar implementation, also added autoincerment primary key on db, please clear data before using