populate function

Populates a namespace or an environment with the content of a module