Add singleton to handle different db instances