use a more proper way for single packages and add insert_into method to PackageItem class