from gluon import current

current.db = db #Expose db to modules
current.auth = auth #Expose auth to modules
current.request = request #Expose request to modules
current.response = response #Expose response to module

#Reload every module on change
from gluon.custom_import import track_changes; track_changes(True)