More moving around

* Also move RefSanityChecks to the new cfg package.
* Move all configuration messages to a dedicated enum.

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