Improve imports from lib.helpers

lib.helpers should be less entwined in the codebase and move towards a template helpers role