adding app-specific contexts and a pair of templates