Extracted super-classes for redstone circuits.

Renamed sampler to analog repeater.