Added networking to learner and acceptor