old_contents: from flask import Flask
  from flask.ext.pymongo import PyMongo
  from jinja2 import FileSystemLoader
  
  app = Flask("epen")
  app.config.from_pyfile("config.py")
  app.jinja_loader = FileSystemLoader("themes/%s" % (app.config["THEME"],))
  
  mongo = PyMongo(app)
  
new_contents: from flask import Flask
  from flask.ext.pymongo import PyMongo
  from flask.ext.login import LoginManager
  import jinja2
  
  app = Flask("epen")
  app.config.from_pyfile("config.py")
  _my_loader = jinja2.ChoiceLoader([
      app.jinja_loader,
      jinja2.FileSystemLoader("themes/%s" % (app.config["THEME"],)),
      jinja2.FileSystemLoader("core/"),
  ])
  app.jinja_loader = _my_loader
  
  mongo = PyMongo(app)
  
subject: add a core template folder for admin pages