adding configuration file to class or interface refactor