Content views: addressing feedback from #1592
a smal refactoring to generate more complete environment+dependencies tree
Merge pull request #1632 from witlessbird/environment_factory

a smal refactoring to generate more complete environment+dependencies tree
Merge pull request #1610 from daviddavis/1592

Content views: addressing feedback from #1592