some refactoring  new file COnfiguration ...