static function CreateModule($type, ModuleLocation $location)
    {
        $class = self::ModuleClass($type, $location);
        if (!class_exists($class))
        {
            return null;
        }
        return new $class();
    }