Abstracted subdomain apps from app.js.