Comments in file, image and tools methods

added comments everywhere it was needed
Merge pull request #3 from mirkoargentino/master

Comments in file, image and tools methods