First version

This is scaffolding, mostly.