add the active record feature and add event example, you can visit event example by visiting http://localhost:9292/event