change the config option to a class member

Now you can just set it once

$Database.fn.Options.database = 'TEST';

And forget about it for the rest of your app.