Finishes re-factor, placing all configurations into a file