rc-dev: move plug/units to separate module