Adding support to start app as WAR