move defaults to configuration class