Breakout string handling to own module