Default expiration now configurable

Setting the default expiration as a configuration option with the same default.