Separated modules for html/code generation