moved global variables into class in joyfly
Merge pull request #6 from jvdrayton/master

moved global variables into class in joyfly