Add uninstall

Added functionality for uninstall and cleanup.