Refactored code to use array of objects and added prototype and this references
Merge pull request #10 from jabbrass/master

Refactored code to use array of objects and added prototype and this ref...