Added some comments about how to modify this modul in order to make it more flexible.