fixes to moving environment vars into e
change driver parent class to abstract driver