setting up db and gitignore