fixed deprecation warning, added some git ignore patterns