Implemented structure for uninstall routine. Removed disabled check and made it disable module when uninstalling