Made some adjustments, started working on the networking thread