Basic support for multiple devices.
Merge pull request #86 from jrconlin/issue-54-multiple-devices

Multiple device support