Improved javadoc and changed some classnames' case