refactoring
adding db module
update .gitignore to include *.db files