moving analytics out of wed class and into their own module