Using application model
Scoping everything with application model.
I tihnk i got this working.
Changed the tests.
Another small test.