unified constructor for all models;
stl and voxel now have their own factories