Moved string routines into its own files.