Updated configuration file usage.
Refactored a list comprehension. Added comments
Merge pull request #5 from jpmontez/refactor

Refactor