Kl method

this is the big picture of the Base class for  KL methods and a class for one specific KL method