Fixed syntax errors, Master and Client now run