more package refactorings
remove entity context (not used anymore)
cleanup test packages
remaining changes
Create dedicated scope model package
unit test for scope assignment and statement resolution