Implement constructor and basic functions for Mcc classes