Move model training from celery back to django
Pass the context correctly in stats view
Change function for fetching statistics correctly
Add code to plot graphs, and organize monitor HTML into partials