Basic JSON-RPC classes, methods and examples added.