- Reorganized code.
- Added group registration status functions.
- Added all reduce functions
- Added functions to generalize code