Changed app structure for Flask deployment. Using scripts I found online.