Break html into own namespace, generate html tables