Large re-write. Moved all the work to the bin scripts. MCP just calls the scripts on the appropriate machines as root.