Refactors connection out of class Table. Replaces mock data with real data from test database. Fixes #6.