skeleton of a Flask MVC app with mongodb backend