Reimplemented RPC requests
New Callback for API
Implemented simple test