add support for configurable canary api and checks hosts. Close #7.