debug mode for templates
rename relative_path to target_path
pop out version from config
remove ServicePackage so that it is used as an ApplicationPackage + minor refactoring