added ability to deploy to tomcat