Moved parser into its own package.