Move config to config file.