Piper node mode, now with added sample functionality

Still testing it but I think it should work. What could go wrong