Documentation added and fixed

- mostly in rpc