Initialising repository