Add doc about using NC as a lib