Add of commentary.

I added commentaries to help Théo to understand this code and whoever
want to use it :)