Added `set` and `get`

Closes https://github.com/PistonDevelopers/current/issues/8
Merge pull request #9 from bvssvni/master

Added `set` and `get`