Refactor addTable function.
Refactor addTable function.

mitchellwrosen/persistent,jasonzoladz/persistent,meteficha/persistent,mitchellwrosen/persistent,pseudonom/persistent,andrewthad/persistent,mkscrg/persistent,jasonzoladz/persistent,greydot/persistent,nakaji-dayo/persistent,superduper/persistent,meteficha/persistent,erikd/persistent,mitchellwrosen/persistent,andrewthad/persistent,superduper/persistent,mkscrg/persistent,pseudonom/persistent,paul-rouse/persistent,greydot/persistent,yesodweb/persistent,psibi/persistent,nakaji-dayo/persistent,rdnetto/persistent,naushadh/persistent,bitemyapp/persistent,plow-technologies/persistent,nakaji-dayo/persistent,meteficha/persistent,mkscrg/persistent,superduper/persistent,greydot/persistent,creichert/persistent,jasonzoladz/persistent,gbwey/persistent,gbwey/persistent,rdnetto/persistent,gbwey/persistent,andrewthad/persistent