Communication testing

Added some server functionality that accepts connections on different ports and echoes all incoming messages.

Besides that ther have been some minor improvements to the functionality of the command line controller.