Adds PkgInfo class. Removes unnecessary instance variables.