start of rpc server