Add database backend
Merge pull request #22 from Geostellar/add-db

Add database backend