Added middleware example. Fixes #14