How would you write to your in-class team, that you are going to drop the class, leaving no hard feelings?
Your suggestion looks fine.  I would consider making an offer to bring them up to speed on anything you have been working on that could help them out.