Add license declaration and documentation.