Add schema and tests
Add repository config