Update comments. Refactor names.
Add license text to files.
Merge pull request #1 from sfgadjo/master

refactor and comments.