Change namespace from cpp to root, and grouped.

This should allow integration with PyROOT, though needs testing.
See `:h group-name` for groups.