Added middlewares loader