Implementing uninstall command and function

Also CLI tests for uninstall