Converting everything to LGPL + refactoring