Move has_background_support to the environment package.
Move contents of envutils.py to the environment package.
Some necessary function renaming.