added liscence, added tests, added README.md