refactored lib/dossier/configuration.rb