implemented table view modes

fixes #11:

@kevlarkevin: can you review/take-a-look?