Modify library module structure, and fix rubocop warnings.
Fix string literal.
Fix library path, pre_configure judgement logic.