changed inter-module communication

Added a moduleVars storage to the server context object.
Also changed the way the modules work together