City formalizes Trailkeeper partnership