Added regions.json
Middleware and phases