Flask backbone for web APIs