make the worker main importable
packaging to make more easily importable
details
wrap the git version in try/catch