Adding category selection to sender endpoint.

Besides adding the new "selection" criteria, some methods on the service/dao have been renamed