Added the ability to have multiple databases aliased for custom queries to different dbs. Next, will need to support class-by-class db aliasing.