Switch from deprecated duplex() to channel()
Split rboy into lib and bin