Algorith: Add methods for trained models to prepare code and setup new instances