add a constructor that takes a Model to Save rmf OS and use it in decay example