Move analysis code out of meta repo