Add licence
Define as composer package
Improve documentation comments