Added class for network operations. Rewrote get_ip procedure. Corrected rm procedure