add database.yml.example file and add database.yml >> gitignore