Add GRUD and test for knowledge_bases