added ability to save to csv file and added .gitignore