add tomcat config and servelet