Added some rudimentary documentation
Renamed purpose_result -> topic_result

The type is called topic, the error is topic_error so the result should
be topic_result.