Initial commit of the main tcp server source file