Move role page definitions into module

Move role page definitions into module
These `remove`s should also be guarded against the assumption that the named group will exist, as well as the assumption that the named page will exist.