added config and driver factory