added java doc comments to visit classes, and removed unused packages