added install.sh and a bunch of new features