Added Results class and tests