Just before start unittests

Some group management. Lot of factorization to do... Stop all, go for unittest before code modification cause there is a lot of bugs around already.