Remove network classes and code