separate bash functions into an imported library we can test
1. take code to ingest command line arguments out of the bash library.
2. interpolate data into the bash library when building.
add shUnit2 test suite, run via grunt test