Feature rpc

Pull request for update of RPC module