Moved HTML processing to HTMLService, inheritance changes in entities
Added padding size calculation to html rendering