improved KnowledgeStructure and Graph
Added Agent class