Initialize repository