Initial port of MakoME. Header guards added.