Added DBO and started rewrite to use indexedDB instead of localStorage