connect to DB and move it Document directry from Main bundle.