Device read/write functions implementation.
Merge pull request #2 from kornelik/patch-4

Device read/write functions implementation.