Move parsing utilities to separate directory