Refactor ProcfileHelpers and move recipe methods to definitions