ready for SQL additions
Post RPC debugged and finalized.

Queries now return values from the functions.
class methods of objects can now be passed to the RPC server instead of
individual functions.