Add COPYING and change license to LGPLv2+
Fix ordering of imports