Added repository and preferGlobal fields. Added LICENSE.