model tests tidy up
moved tests using externals into new integration folder
moved more tests using externals into new integration folder
filled more test/model gaps
split some of lib off into app/lib
test folder renames; coverage refactoring