implemented before route hook to help with testing making the model sort of kind of persistent
saving before branching in order to destroy all that has been built