Added a preliminary implementation of the new plug-in. Does not link yet - one new mesh_material function is still TODO