How to import these libraries?

I think, in this case, you need to have a look at this post: Displaying 500 Basic Textured Models Performantly? (InstancedMesh or another method) - #13 by prisoner849