objectifying more code
Merge pull request #32 from georgexzeng/master

objectifying more code