created network object to send and recieve network data