Splitting Networking class to Networking.java