Threading

Updated Client <-> Server Communication to use threading