Fixed tuples in models, added .gitignore.