Refactoring commands, stage 2

Added groupmod command for managing groups and permissions
All as subcommands

Also added a few things to help for better help content display

Additionally made 2 tick hooks, not sure if we will keep them,
they are not implemented yet.