Added middlewares support
Updated CHANGELOG.md