Better ops syntax for table actions

- [ ] put the table state inside of the table
- [ ] provide ops for actions