func New(_, clusterID, nodeID string, managers *managers.Managers, globalMods *global.Global) (*Modules, error) {
	return &Modules{
		blocks:     map[string]*Module{},
		clusterID:  clusterID,
		nodeID:     nodeID,
		GlobalMods: globalMods,
		Managers:   managers,
	}, nil
}
New creates a new modules instance
package modules
import (
	"context"
	"errors"
	"fmt"
	"sync"
	"github.com/spaceuptech/helpers"
	"github.com/spaceuptech/space-cloud/gateway/config"
	"github.com/spaceuptech/space-cloud/gateway/managers"
	"github.com/spaceuptech/space-cloud/gateway/modules/global"
)
type Modules struct {
	lock   sync.RWMutex
	blocks map[string]*Module
	clusterID string
	nodeID    string
	GlobalMods *global.Global
	Managers *managers.Managers
}