IIFE and safe minification for controllers, fixed avatar fallback, replaced  with restservice