typesetting reworked to typeset module
table module added