Remove most of analyze.rs, inlining it into main.rs until a design solidifies.