refactor eventsSearchRequest
implement service layer
create some tests for dao layer