add std::poly::Poly
Migrate to Poly
remove redundant macros