Setup SourceDatabase object and compeleted dynamic selects