adding support for more flexible api calls: query args and binary responses
adding html page to test api calls and some cleanup.