Feature/issue48

V4.0.0 
* Implementing API v2.1, fixes #48 
* Changing response code to integer, fixes #44 
right, my bad