Added license (LGPL 3) where it applies.