UI scaffolding

Merge after #4.