Seol mar théacs é seo: Rare-earth implanted MOS devices for silicon photonics