main

fun main(args: Array<String>)

Reads the configuration. Starts the connection. Launches the agent. Sets up keypress / shutdown handlers for shutting down.