add example about defrecordfactory in readme

When I first read the readme, I didn't find it has anythings about the record, so i suppose it do not have... But it actually have, so add an example about defrecordfactory.

Thanks your code! Nice day!