Added readme, gitignore and fixed some javadoc errors.