Moved M API fully to externs.
Example updated to use the new externs.
Commented some hxml settings.
Externs API close to completion.
API improvements
Example working but can be improved.