KD: Initialize the repository