added LGPL licence to sources