modify TableInfo to avoid erasure error, and fix null pointer error when setting up each object for table info
modify TableInfo to avoid erasure error, and fix null pointer error when setting up each object for table info

natemara/databases-project,natemara/databases-project