Hi all, please help!

If any of you remember, I added 2 brood frames (about a week ago) from my original hive to my package hive that I installed the last days of May, that didn't seem to be doing so well....today i made an inspection of this hive, and found...new bees, bees emerging, some uncapped larva, some still capped brood, and a gillion small worms crawling every where, on the 2 frames that I added. Also some worms on a frame beside these two, but they didn't seem to be comming from the cells, just on the frames. I removed as many as I could and squished them, but I didnt' take away the whole frame because of the brood emerging. What danger are they to the bees? and recommendation for what to do to control or kill what is left, or prevention???
[/COLOR][/COLOR]