Feature/issue48

V4.0.0 
* Implementing API v2.1, fixes #48 
* Changing response code to integer, fixes #44 
? It is used on the next line, in the constructor ?