added WAR and ets-resources build and fix formatting
general review