WIP on having 2 separate sets of database handles for reading and writing