Rewrite of the GMAPI2.NET