Added input/output mode to power conduits. Includes refactor for common frame work across all conduits.

#41