Fix unrenamed variable
Reorganize Repo.hs (no other changes)
Small fixup: comment, whitespace, use liftState
Derive Read for things

This will allow the printed results from Test cases to be copied in as
variables.
Add failing test case. Copy & paste in ghci after loading Test