Adding terminateCubist
Adding deallocateLastModel
Refactoring && wiring dealloc of last used model