db wrappers now __init__ with an 'app' or a 'config' for less stupid usage within Flask or without Flask.