split environment config from app