make flush optional (since it's currently broken :)
starting work to add all datatypes and meshes