Transitioning to python collatex

Work in progress.