made TouchDB XXX Database ContextSingleton