Added files to .gitignore
updated .gitignore
Cleaned up database interactions.