implemented knowledge template crud