Added getEvents to DataBaseManager