NF - handle multiple grids

Python interface can handle multiple grids. Also includes a test suite.