App using flask as backend and backbonejs as frontend