Added LicenseUpdater class, cleaned up code.