initilializing repository structure