add a default config and make durability configureable

kudos to @dlindahl for the default config mechanism