added primiteve ModuleManager, copied modules
moduels are copied, so functinality will not be broken before
sessionmanager is completed