Framework for Knowledge System