Added simple rpc example with timings and flags