Initial conversion to RPC

only getInfo uses the RPC but getting a CORS error