Added reflection stuff to call RPC methods
Pass parameters to RPC method