Refactored code and comments
Merge branch 'master' of https://github.com/abourg28/YAR