modified some speed related issues, added a folder to gitignore