Update Pin model, gitignore file and other stuff