Initialize resporitory