add db

added db script and package.json edit