Add ability to write tech module as a function (closes #363, BEM-930)
Remove redundant PATH.resolve()
Fir formatting
Merge pull request #429 from bem/BEM-930

Add ability to write tech module as a function (closes #363, BEM-930)