design fixes
aliases fixes, added db_slave(), db_master(), by default they pointing to db()