move expandPath to util package
implement "lg init" & global config