some changes:

started working on trainer.py
added db_refresh as function to the flask app
started fucking with some front-end html/jquery