change the classe MainClass to BaseFait with modification of the of a
knowlege base to make it existe only once(singleton)