Small modif
Refactoring + examples + flags