Adding viewrepository