Added a central Generator class which will keep track of all the messages etc

It'll also keep track of joins now

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>