modify .gitignore file and add database.yml