base installer refactoring.

Improved docstrings.