Fixed some mistakes in model path resolution, restructuring of in-memory b3d model reprasentation, b3d baking half done