Implemented base model repository