divided TCP client and server to new files