Use new createFromData method on driver
Register package config before bootstrap

Fixes a bug where the default driver couldn't be set