feat: Working publish and rpc prototype