extracted the creation of meshes out of the renderingclass, to a point before the renderingEngine and physicEngine is created, so that meshes can be supplied to and shared between rendering and simulation