added db configuration + hooks
Added .gitignore