Create helper-module

Factor existing helpers out into dedicated module.