added mising json_encode to play_chapter echo
foundation complete and frontend connected! small improvements and bugfixes. more comments