Centralize config, improve handlers, add a fake driver.