Do not build useless binary.
Some refactoring + added debug servlet.