Fix doc, bugs, change license
Fix doc, bugs, change license