Added higher-level functions, updated documentation, fixed bug in get_response().
Updated documentation.