Moved all string functions to other file