Cleaned up javadocs and added .gitignore