How do I tightly couple Dakota to my software using Dakota's library mode?