added CMI
comments.py: fixed missing import
comments.py: matched up docstrings
Furthered the use of CMI throughout the project.