Moved constants and default config to defaults.py