def addUser(name, full_name, password, _loader=None):
    user = schema.User(name, full_name, password)
if _loader is None:
    session.add(user)
Transition from small scripts to bigger apps is not easy