added documentation to home and rpc