Integrated with IOTW project:
* JAR file building by Maven (encoding, dependencies, manifest).
* Allow to be called with command-line arguments (otherwise the UI is used).