Create custom database for tictactoe

This provides some extra functionality like managing games.