Changed conf file parsing to use ConfigParser class