refactor(pack): minor pack module refactor