refactoring, preparing GitHub #5
Signed-off-by:jonathanlermitage <jonathan.lermitage@gmail.com>