Moved functions to main plugin file so they're in scope in the theme
Merge branch 'master' of github.com:bennuttall/piweekly-newsletter-generator