Refactored model and datacontext, in order to get a better understanding of how Breeze functions
ran durandal optimizer