Remove dead examples
Start turning into a proper module
Flesh out a more sensible structure
Add some tests