Understanding module install / uninstall

DoInstall procedure
DoUninstall procedure