Organizing the code

Signed-off-by: Gehadelrobey <gehadelrobey@gmail.com>