added snapped support, pouchdb almost integrated, working on media control bar