Support for more types of cells

Supports slider and text field type cells. Also supports grouping of cells
Check the range on the section index vs the number of sections before indexing into the array. If it's out of bounds, return nil so there's no crash.