Interface to do simple operations on the database.

def operate(config):
    "Interface to do simple operations on the database."

    app = make_app(config=config)

    print "Operate Mode"
    with app.app_context():
        operate_menu()