added check for brew installation to z install script
major cleanup, removed unused stuff