Added LGPL headers to some files