refactor
support libraries, module entries converting