Seperate out middleware to seperate project. Update packages.