add tcpserver and businesslogic code