Update README, add LICENSE, tweak return values