added db initiation and added db to gitignore