Moves default config values into Config; refactors slightly to set defaults in the initializer.