A class for communication between different JS classes. This removes the need for the JS classes to know about each other's existence.