Issue #2: Adding CMI documentation and tests. Completing initial APIs. Accomodating for config directory switching in tests.