Draft 1 API Document

This is draft 1 of the MG API Document