More refactoring.  Working on rendering of edit view for html module.