modifs in LPT3D for master
introduce Ptr classes for all api_struct and api_class which does not requires explicit handling of api_incref and api_decref
introduce Ptr classes for all api_struct and api_class which does not requires explicit handling of api_incref and api_decref