Added package info and various fixes to the JavaDoc.