Use query visitors
Provide ordering on application sources
Use UUIDGenerator and move test
MOve application test to model
Make application implement identified and sources