Groups implementation is done. Basic version, but it works.