Move some log messages around.
Update TODO.
Refactor core.py.

Extract appropiate code into a new function get_board_json(...).