add layerfactory and drivers