saving and storing map tiles with pouchdb working now