support passing backends as object
Merge pull request #22 from RonnyPfannschmidt/backend-object

support passing backends as object