Split helper.lua and patched up class()