Added first two functions to return event list in Datastore.java