More modularization

Default compiler group now set by setcompiler function; variables initialized
in environ.sh
Some code clean-up

Move more variables to environ.sh, have loadmod also set FC