PayTree class added. Only few lines