Refactor string-related functions to a new file
Add .gitignore