Complete update
Use bash instead of /bin/sh
Add tests and a license
Add travis badge