Move internal repositories to internal_backend

Write a bunch of tests