The ending (during the credits) seems to allude to Noah's Ark, but I'm grasping at straws trying to make the rest of it work toward the Story of The Great Flood.
Maybe Noah, in his search for two of each creature, sets this up to find a mate for his Box Creature, as well as for himself?