Add base classes for mcs(server) and mcc(client)