Moved jsonRPCClient to class directory and added some database stuff