Moving ragel data to function local scope
Phase 1 of restructure complete