Add create game function and index of games