Initial push of code from the bash project.
The perl version of the code will be released later in its own branch.