Much overdo change of the license for this code to be LGPL