Removed statics from classes so that multiple senders and receivers can
be created within the same execution of a program.