fix recursive search
add generator for grids
add cli executable