add routing and stub for results details
result details, clean up results queries to use joins