Code clean up and restructure /etc/profile functions to be in
/etc/profile.d/base.sh instead. This keeps my /etc/profile clean
while allowing separation of base functions