Move examples into examples/
fix README
Add tests, remove examples