Add licence, add tests for api so far