Add example of middleware usage
Update README