add db and puzzleModel