Cleaned and commented the code

Merged Barkin Simsek requested to merge dev into master

Merge request reports