make set/get as public functions
Merge pull request #11 from Try/master

make set/get as public functions