added template code to app design