Take the constants out of the class to be compatible with the latest SDK
Merge pull request #4 from Erly/master

Take the constants out of the class to made it compatible with the latest SDK