Specify console script in setup.py, as is proper.
Considerable re-architect that splits up weaving and untangling.