Move deployment code to own library
hook up Unity IoC to controller