various restructurings making specgrid easier to use. Some documentation