Updated preferences. Added gitignore file.