resourcified repositories for CRUD operations