Clean up and refactor games list sql query code. Enable games list adapter to open a game details screen.