Use RefCell

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

Use RefCell