Move local db to podclient
Our current "local database", the one that is used to prevent duplication of items in memory when retrieving them from the pod, is a global variable. This is incorrect, we should have 1 local database per PodClient, as multiple PodClient may interfere when using the same local database, while connecting to different pods.