Refined API; Bug Fixed

* MESSAGE type is now called DATA
* Fix leave by calulating modulo on the group hash before storing it