fix storage and add *.db in gitignore