minor
major refactoring
adjusted path
stats_all working
adjusted R files and stats and create html to generate everything with one call. But it is not working, html files get mixed up, needs to wait for callback