added database helper class
added database operation class
added new data base tables occasion and record
added function to fetch the id of the last row.
inserted the data in the database with unique custom trip id and event is