Moving string transformations to separate package