Let's ignore some files

Updated .gitignore and moved temporary or scratch files into temp_dir