Move some configuration details to config rather than app/main/host