Implemented GenericTable data class for displaying and writing general tables