A generic backend implemented with python and flask framework