Move the parser into a crate