set up azure and deployment on my laptop
refactored mongo to use pre middleware