Add .gitignore file and remove .idea directory from the repo