added variables.sh and a few initial functions in other scripts
a few tests, and a few new functions