Nand flash librairy