Updated Javadoc, added package-info, and fixed formatting.