Updated mlog libraries and test scripts to match new design. Also edited part of MCP that prints MCP API to files.