More thing to go but this is a good start. redoing the Query's to JDatabas to work accross DB.