Move config to external files