Created a Client class, which handles all the work related to a particular client, now using it in the Net class instead of directly dealing with it there.