Added JavaDoc comments for some classes