updated licence to LGPLv3 in file headers