Move confdefaults out of main.py