Add LGPL license, and test switch repo