Updated the code to be M3 compliant. Changed the unittest library from 0.2.7 to 'any'.
Updated the code to be compatible with the latest SDK
Merge pull request #3 from Erly/master

Changes to make it compatible with the latest SDK