Cleaning up the CRITs implementation and adding some documentation (closes #91)