Better organized the functions in DataTables.cpp to increase readability.