Fixed assigning global variables
Set client to only send messages
Set server to only recieve messages
Edited formatting of config file