Built helper for creating submodules
This is the more portable way to def funcs
Adding util to check env health