reverted pkgInfo because it needs to be called from the callee's project
updated doc