Moved a few #define into Configuration.h
Added validation of the hash of "sync" response
Added WebApiBuyRequest
Cleaned up a few stuff