added first draft of simple tcpserver for real-time controlling