Finish initial implementation and add test. Update README and gemspec