Added Event class and connection between Calendar and SQLite database