add ternfile
add headers and links, hide table on first load
populate table by page