Add repository model