added javadocs & touchups
fixed gitignore