simple python and flask backend