Added defmains and tests, plus integration tests for workflow
Added namespace docs
Merge pull request #331 from reddmetrics/feature/automation-defmains

Added automation defmains and tests, plus integration tests for workflow