added tables api calls.
Merge pull request #13 from lemonpole/tables

added tables api calls.