added deploy and undeploy gems install and uninstall code, testing