complete How Tomcat Works