move functions from .bashrc to .bash_functions
pull repetative code into a loop
moved PS1 var setting to it's own file
small deletions and comments
minor comment/formatting changes