Added an example of a restful api handler.
Updated readme.