Network working
Finalized. Can add more functionality, but need to refactor. Elimante repitition