Rename base.Manager -> base.BaseManager, create new core.Manager class with connect() method that ensures that the integer indices associated with a pattern's interface ports match those of the connected modules' port mappers.