move unused code to old-code and rename app-indexedDB