Bash framework for writing shell applications