Generating board, cards, and event listeners