rpc documentation well on its way. Needs prolog and javascript examples to be complete