Creates polymorphic collections. Rearranges files to fit Gabe's magic js require thing.