added __version__
implemented GRID.parse_input()