Module tracked

Functionality for adding environment state to the build dependency info.

Functions