added javadoc
gitignore updated