Refactored the web delivery to separate the app from nginx