Updated deploy.xml

I added most of the deployment functionality to it. I just need to get the syntax right later.