adds emblem support and migrates templates to use emblem