Add CRUD for repositories

Add create, index, and delete controller actions for repositories.
Implement one view for all functions.