Cleaned up install code. Added uninstall scripts.