created testing framework
speeded up dataset generation by an order of magnitude
added stats controller