Separate repository/odb functions into their own file. Add odb_exists to go through the repository's odb. Adjust the test script.
Separate repository/odb functions into their own file. Add odb_exists to go through the repository's odb. Adjust the test script.