Changed $app paradigm