Added licence header / switched to LGPL.