Move conf to module and add local settings.