Created a table class for the DB