Added user interface

also modified ConfigReader and other related classes