implemented skeleton to embed tomcat with snc