- added support to run the application in an embedded tomcat7