Add license and metadata.
Add tests.