Basic changes in settings structure

Signed-off-by: Alessandro Vioni <jenoma@gmail.com>