Working on Event data base setup