Add .gitignore and cleanup project files.