Updating design and domes bugs

Updated the  global design for be more coherent with the context.
Correct somes syntax faults

Signed-off-by: Thomas Leduc <tleduc2@hotmail.fr>