Add server datastore querying, client db query request.
Means #9 is mostly complete.