Add api methods for binding devices with domain.

Also change name of classed from "devices" to "bindings"