fixed for IoC issue with app repo
added repo test for applications
code tidy
Merge branch 'master' of https://github.com/Valtech-NAS/Beta