merged RollingStats and Circuit into Circuit
adding tests and starting the client code
removed dead classes