hooked up results processor and added rest routing