Added cache and db entities, implemented methods to call and retrieve events, created layouts for the ui of the events fragment