Networking is now running in seperate thread