Add LICENSE, MANIFEST and adjust some code.'