replaces deprecated split(), adds .gitignore