Start and make validation configuration classes plus tests

Far from being done.

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>