more parsing work, and adding apg-1.0.jar