Refactor DCConnectionTo and  OptionFileReader