refactor lib/installer

No match.