I am not sure how arduino store string objects. And I had way less experience with arduino when I wrote these classes. I also do not have the motivation to spend much more time on this code now that it works for me, so feel free to optimise as you feel free, but I do not have time to re-implement as a String at this point in time.