I made a library that handles commands throught Arduino Streams. The repo is https://github.com/antcolag/runner Hope you like it!