moved all pika parts to RPC client. still might need a claneup.