Refactored Widget object out of main and into a widget module with some helpers.
Merge branch 'master' of github.com:plyfe/plyfe-widgets