crd.py finished, fully pep8, commented and docstringed
crd.py now python 3 compatible