split install tomcat and deploy app