moved network classes to network package