Move string function to single file.
Split task function to single file.