Delete obsolete test code.
Add license.
Add documentation to README.