added logging and driver dispatcher framework