Move quoting analysis to its own file