Replaces connect type system

Replaces the connect type system used by the supply/scrubber pipe system. The lists of integers seemed really unnecessary.

I haven't been able to test this PR much.

Incidentally there's a ton of duplicated code that could be replaced if atmos machinery and piping stored their nodes as a pair of lists, but I'm not about to rewrite everything.