Refactor of create td to use non dynamic allocation for tds. restyling.