added interfaces and its implementation: DataStore, EventDao, EventService