working on package file format, and on parsing package files