Added a small condition char < 128.
Added or modified Java doc.
Added Apache License 2.0 to all files