rewrite add command to use dagwriter

moved a pinner into the dagwriter for inline pinning
Cool. Ill give them nicer names now, lol