Add configuration files and change logic to restart tomcat.