add repository framework