Modified tomcat module to add capability to change the base folder
fixed hardcoding of usr/local directory in tomcat module