moved HTML templates to resources