First pass QA system in Python. Probably needs to be converted to Scala.