added tomcatSa.rb to support standalone tomcat; cleaned legacy code