cleanup of variables in app.js, added some stuff to command.java
changed default num of troops to deploy