Creates table partial and refactors headers 
using helper