Cleaned up the update/insert check to use lodash filter
Cleaned up the insert and update statements
More green refactoring of the model class
All tests now use the SqlLite stub Dal