Moved String helper method to its own file and updated require statements in main file.