Reworked the networking
Successfully tested the program!