generated a model, view, nand controller for pins