Reorganised, added config loader, use git to get appVersion