refactor for module install
final packaging and documentation