refactoring + removed old code
String - toCharArray
refactored name to generalize Config