remove the old path dir, add a genpath file for the grid model, and reorgnize th module