Fix issue with sending notifications
Added support for JSON-RPC
Updated the documentation