Fix regression
Fix edge case issue
Add readme and license