Edited table class in the database.h file