Add BarMagnet's RPC helper file