add db for memory
Merge branch 'master' of https://github.com/futurehome/ns8503