Threaded server, command line interpreter