Add core package.
Add dependencies for embedded tomcat.
Start and stop tomcat.