Move makeEachObj and makeEvent functions to Parser.hs