move content creation into table class, so actual layout is less dependant on the mako file