upgrade Pakfile parsing and use new core subpackage