template as much as i can the medViewFactory (has now a create <returnType>() methode)