added javadoc
added comments
fix merge conflicts
Merge pull request #6 from inderdhir/develop

Develop