Adding generated preferences and gitignore