changin deployment service to deploy / redeploy domains and adding generics to the deployment service infrastructure
adding first test case