Implemented basic repository