First commit of the analysis code.