add grid.py; cleanup main dir