API changes

* Added support for using multiple devices at the same time.
* Added comments
API has changed, so older software need to be rewritten