Split parsing lib out to separate module.