Added default config support

Closes #249.