liblcfg support added,removed dead code and startup logic change