Updated knowledge app template and base template