reworked using register API
Merge branch 'master' of github.com:quick2wire/quick2wire-python-api