Added mcp.cpp, mcp.h, and main.cpp