Create analysis.php

combined all of the analysis shit