moved code into widgets and added i18n
Merge pull request #20 from tomwayson/widgets

moved code into widgets and added i18n