Support RPC
Add sample config