Check status code for each command / throw exceptions
Currently the read commands return a struct with return status code + value. The code does not currently checks for these status codes before retrieving the value.
Another possibility would be to throw exceptions.