closes #5: Add support for middleware.
bump to 0.1.0