IndependentDatabase when copying files locally

Main database created on main thread