first night of work

Set up basic user interface, data structures, and primitive semantic
comparison algorithm.