Add license
Improve documentation and options