Server and client now use NSNotifcationCenter when receiving input and now works