Move default config out of lib