Results spec

Finish the results spec work. The only pending thing now is functional, and perhaps unit tests.