turn back simple middlewares
add test for middleware generator
cleaner README, bump version