Moved all configuration to a file.