Fixed some stuff and added Communicator class.

I forgot to declare some variables. :p