Added commentaries

Structuration of the code