client: add classes for db responses