Update / add header comments.
Added a implementations for writing results.
Change state handling for request.
Renamed session/sessions -> request/requests.