first version of WSGroup working , still a little bit ugly but suffisant for test purpose