Add PkgBuilder class, move Parser to private part of module