pass an optional source to model, so that other dbs can be accessed
working on dynamic model sources