Initializes repo