Added ability to deploy to tomcat