refactor datastore pt.1

- create generic table class for database intercation called DsTable