Moved lib/middleware to lib/picker/middleware