Fixed version number
Fixed variable name case
Improved code readability and added comments
Improved code readability and added comments.
Improved code readability
Updated copyright notice
Added docblocks
Updated changelog