Updated code with comments. Compiles unlike previous version
messageManager.h still needs a nice way to fit into the server/client set up but once that's figured out everything will fall into place nicely.