add REST support, refactor search to return game details with results